<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/******************************************************
* Profile			: article 
* Author			: 
* Create Time		: 
* Modify Time		: 
* Modify Profile	:  
******************************************************/
class piclist extends Front_Controller {
	
	/******************************************************
	* Profile			: 显示
	* Author			: 
	* Create Time		: 
	* Modify Time		:  
	* Modify Profile	:  
	******************************************************/
	public function show($id = null)
	{
		header("Content-type:text/xml");
		echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
?>
		
<settings

autoRotate="1"
autoRotateSpeed="4"

useSubtitle="0"
useTooltip="1"
useSecondCaption="1"

spanX="260" 
spanY="30"
centerX="325" 
centerY="168"

distanceValue="0" 
perspectiveRatio="0.5"
minimumscale=".1" 
turningspeed="4" 
rotationKind="1" 

useFocalBlur="1" 
focalBlurValue=".6" 
useMotionBlur="1" 
motionBlurValue=".25" 
useFadeOnMouseOver="1"
mouseOverAlphaValue=".5"  
useReflection="1" 
reflectionAlphaValue=".5"

/>
  
<photos>
	
	<?$gi_menu = $this->menu_manager->get('gdtpindex');?>
	<?foreach($gi_menu->items as $gdtpindex_menu):?>
	<photo imageURL="<?php echo $gdtpindex_menu->relation_model->image?>" 
		linkData="<?php echo $gdtpindex_menu->relation_model->url?>" linkType="URL" linkTarget="_blank" 
		captionText="www.masgxgc.org.cn" 
		captionText2="" enableButtonWhenInFront="1" >
	</photo>	
	<?endforeach;?> 
</photos>
<?php
	}
}
